import mitt from 'mitt';
import type { Events } from "./event";

const emitter = mitt<Events>()
export const on = emitter.on
export const emit = emitter.emit